package com.app.teaware.bean;

import android.text.TextUtils;

public class NewsDetailBean extends BasisBean {

    /**
     *
     */
    private static final long serialVersionUID = 1L;


    /**
     * id : 4762f0edf9b317ba210484f2a58d2865
     * createBy : 35116005
     * createUserName : 廖艳琳
     * createTime : 2020-10-12 14:45:02
     * updateBy : 35116005
     * updateUserName : 廖艳琳
     * updateTime : 2020-10-12 14:45:02
     * title : 默默无闻中重中之重
     * author : 廖艳琳
     * publishTime : 2020-10-12 14:45:02
     * receiveType : 1
     * sync : 0
     * coverUrl : null
     * content : 图图图在我末
     * remark : null
     * isTop : 0
     * fileIds : null
     * operateType : null
     * noticeIds : null
     */

    private String id;
    private String createBy;
    private String createUserName;
    private String createTime;
    private String updateBy;
    private String updateUserName;
    private String updateTime;
    private String title;
    private String author;
    private String publishTime;
    private String receiveType;
    private String sync;
    private String coverUrl;
    private String content;
    private String remark;
    private String isTop;
    private String fileIds;
    private String operateType;
    private String noticeIds;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        if(TextUtils.isEmpty(author))return "";
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public String getReceiveType() {
        return receiveType;
    }

    public void setReceiveType(String receiveType) {
        this.receiveType = receiveType;
    }

    public String getSync() {
        return sync;
    }

    public void setSync(String sync) {
        this.sync = sync;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIsTop() {
        return isTop;
    }

    public void setIsTop(String isTop) {
        this.isTop = isTop;
    }

    public String getFileIds() {
        return fileIds;
    }

    public void setFileIds(String fileIds) {
        this.fileIds = fileIds;
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }

    public String getNoticeIds() {
        return noticeIds;
    }

    public void setNoticeIds(String noticeIds) {
        this.noticeIds = noticeIds;
    }
}
